//
//  UILabel+Extension.swift
//  weibopush
//
//  Created by 龚欣 on 15/6/30.
//  Copyright © 2015年 gong. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(color : UIColor,fonSize : CGFloat,hasLines : Bool = false){
        self.init()
        self.textColor = color
        self.font = UIFont.systemFontOfSize(fonSize)
        if hasLines == true{
            self.numberOfLines = 0
        }
    
    }


}